 import request from "@/utils/request";
 
export const getAllChannels = () => {
    return request({
      method: 'GET',
      url: '/v1_0/channels',
    })
  }
  export const addUserChannel = () => {
    return request({
      method: 'PAICH',
      url: '/v1_0/user/channels',
      data:{
        channels:[channel]
      }
    })
  }

  export const deleteUserChannel = () => {
    return request({
      method: 'DELETE',
      url:`/v1_0/user/channels/${channelId}`,
    
    })
  }